#ifndef __HW_MONTION_H__
#define __HW_MONTION_H__
#include "Service.h"

class Montion : public Service{
private:
	long milisSignalPeriod_;
	long lastSignalSent_;
	int pin_;

public:
	Montion(IArduino& arduino, MessageRouter& router, const String& name, ILogger& logger, int pin, long milisSignalPeriod = 10000);
	virtual void tick(long milliseconds);
};

#endif
